public class Num_2 {
    public void print(){
        int i=0;
        while(i < 10) {
            int j=1;
            while (j <=i) {
                System.out.print(i+"*"+j+"="+i*j+" ");
                j++;
            }
            System.out.println();
            i++;
        }
    }

    public static void main(String[] args) {
        new Num_2().print();
    }
}
